import cv2
import numpy as np
img=cv2.imread("photo.png")
cv2.imshow("Input",img)
imgHSV=cv2.cvtColor(img,cv2.COLOR_BGR2HSV)
lower=np.array([[78],[46],[46]])
upper=np.array([[99],[255],[255]])
dst=cv2.inRange(imgHSV,lower,upper)
cv2.imshow("Output",dst)
cv2.waitKey()
cv2.destroyAllWindows()